package com.example.service.impl;

import com.example.mapper.MaintenancestaffMapper;
import com.example.pojo.Maintenancestaff;
import com.example.service.MaintenancestaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MaintenancestaffServiceImpl implements MaintenancestaffService {
    @Autowired
    private MaintenancestaffMapper maintenancestaffMapper;

    @Override
    public List<Maintenancestaff> getserviceman() {
        List<Maintenancestaff> list=maintenancestaffMapper.getserviceman();
        return list;
    }

    @Override
    public List<Maintenancestaff> getServicemanLeisure() {
        List<Maintenancestaff> list=maintenancestaffMapper.getServicemanLeisur();
        return list;
    }
}
